<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>
<script language="javascript">
$(function(){
	$('.item_2').hover(function() {
		$(this).toggleClass('item_2_current');
	});
});
</script>
<div class="main">
  <?php $this->_control("newsleft");?>
  <div class="ihead720 fright magin20b">
    <div class="ff1 left magin5l"><a href="<?php echo url('index');?>">首页</a> > 师资库</div>
  </div>

      <?php foreach ($list as $teacher) {?>
      <div class='item_2'>
        <div class="fleft magin5t magin20l magin20b"><a href="<?php echo url('index/teacherinfo', array('tea_id'=>$teacher['tea_id']));?>" target="_blank"><img src="<?=$_BASE_DIR.$teacher['pic']?>" name="photo" width="75" height="90" alt="" style="background-color: #CCCCCC" /></a></div>
        <div id="tea_note" class="fleft magin20l magin5t">
          <p class="name"><a href="<?php echo url('index/teacherinfo', array('tea_id'=>$teacher['tea_id']));?>" target="_blank"><?php echo $teacher['tea_name'];?></a></p>
          <p class="left" style="white-space:normal"><a href="<?php echo url('index/teacherinfo', array('tea_id'=>$teacher['tea_id']));?>" target="_blank"><?php echo Helper_Util::utfSubStr(stripslashes(nl2br($teacher['note'])),60,'...');?></a></p>
        </div>
      </div>
      <?php }?>

  <div class="fright magin100t">
    <?php $this->_control("pagination2", "", array('pagination'=>$pager));?>
  </div>
  <div class="clear"></div>
</div>
<?$this->_endblock();?>
